<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>边框样式</title>
		<style>
			*{
				margin: 0;
			}
			div{
				height: 300px;
				width: 500px;
			}
			div#d1{
				border-width: 20px;
				border-color: red blue greenyellow;
				border-style: groove;
				margin: 20px 40px;
			}
			div#d2{
				border-width: 20px;
				border-color: red blue greenyellow gold;	
				border-style: solid;
				margin: 5px ;
			}
			div#d3{
				border-width: 20px;
				border-color: red blue greenyellow gold;
				border-style: ridge;
			}
			div#d4{
				border-width: 20px;
				border-color: red blue greenyellow gold;
				border-style: dotted;
			}
			div#d5{
				border-width: 3px;
				border-color: red blue greenyellow gold;
				border-style: double;
			}
			div form p input{
				border: none;
				border-bottom: 1px solid black;
				outline:none;
			}
		</style>
	</head>
	<body>
		<div id="d1">ddd</div>
		<div id="d2"></div>
		<div id="d3"></div>
		<div id="d4"></div>
		<div id="d5"></div>
		<div>
			<form>
				<p>
					<label>用户名</label>
					<input type="text" name="uname"/>
				</p>
			</form>
		</div>
	</body>
</html>